home *** CD-ROM | disk | FTP | other *** search
- Path: hettar.cv.com!usenet
- From: Anil Madhav Bhagwat <abhagwat>
- Newsgroups: comp.lang.c
- Subject: How to share globals across DLLs
- Date: 11 Apr 1996 04:31:33 GMT
- Organization: Computervision Corporation
- Message-ID: <4ki1v5$oia@hettar.cv.com>
- NNTP-Posting-Host: kanada.cv.com
- Mime-Version: 1.0
- Content-Type: multipart/mixed;
- boundary="-------------------------------3147434725465"
- X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.5 sun4u)
- X-URL: file:/users/abhagwat/etc/problem
-
- This is a multi-part message in MIME format.
-
- ---------------------------------3147434725465
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
-
- --
- ------------------------------------------------------------------------------
- Anil M. Bhagwat
-
- Residence : 4/Bhalchandra, Office : ComputerVision(India) R&D Pvt.Ltd.
- Karve Road, 16 Pune-Mumbai Road,
- Erandawane, Opp. Bajaj Auto Show Room,
- Pune 4 Pune 3
-
- Telephone : 330130 Telephone : 318816 / 17 / 18 / 19 / 20
- ------------------------------------------------------------------------------
-
- ---------------------------------3147434725465
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain
-
- Hi,
-
- I am facing a very strange problem. We want to break an
- existing static library ( which is quite huge ) into a set of
- Dynamic Link Libraries ( DLLs ). The problem is how to share
- the global variables across these DLLs. I am using MSVC++ 1.51
- compiler which provides keywords like EXPORT and IMPORT of
- global variables in the .DEF file. But surprisingly it's not
- working. Does anybody know the solution ? I would like to
- have a sample source code to illustrate this.
-
- Thanx in advance.
-
- anil
-
- ---------------------------------3147434725465--
-